package yc.star.forum.model;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "帖子回复信息")
@Data
public class ArticleReply {
    private Long id;

    @Schema(description = "关联帖⼦编号")
    private Long articleId;

    @Schema(description = "楼主⽤⼾")
    private Long postUserId;

    @Schema(description = "回复编号")
    private Long replyId;

    @Schema(description = "楼主下的回复⽤⼾编号")
    private Long replyUserId;

    @Schema(description = "回贴内容")
    private String content;

    @Schema(description = "点赞数")
    private Integer likeCount;

    @Schema(description = "状态")
    private Byte state;

    @Schema(description = "是否删除")
    private Byte deleteState;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    // 关联系对象-用户
    @Schema(description = "用户信息")
    private User user;

}